package com.matt.service.care.po;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


@Data
@ApiModel
@EqualsAndHashCode
public class HLCareBaseRecordPO {
    @ApiModelProperty(value = "id, 单条查询时需要")
    private String id;

    @ApiModelProperty(value = "宝宝id， 按宝宝查询时需要", hidden = true)
    @JsonIgnore
    private String childId;

    @ApiModelProperty(value = "宝宝id数组，多条新增时需要，childId二选一。 一个id出错时，所有都失败。", hidden = true)
    @JsonIgnore
    private String[] childIds;

    @ApiModelProperty(value = "事件时间, 需要")
    private Date eventTime;

}
